package com.tuanzi.loan.business.repository.product.product;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.tuanzi.loan.business.entity.product.product.LoanProductPlatform;

public interface LoanProductPlatformRepository extends JpaRepository<LoanProductPlatform, Long> {

	void deleteByProductId(Long id);

	List<LoanProductPlatform> findAllByProductId(Long productId);
}
